<div class="container main-content">
	<div class="span-17">
  		<h1>Uredi post</h1>

  		<%= render 'form' %>
  	</div>
  	
  	<div class="prepend-1 span-6 last">
  		<h1>Slike</h1>
  		
  		<% @images.each do |image| %>
  			<%= link_to image_tag(image.image.url(:thumb)), image, :target => '_blank'%>
  		<% end %>
  			
  		<div class="admin_links">
			<%= link_to "Dodaj novu sliku", new_image_path, :target => '_blank' %>
		</div>
  	</div>
</div>
